<script setup>
const xxx = 123
const fn = () => {
  console.log('我是fn方法')
}
defineExpose({
  xxx,
  fn
})
</script>

<template>
  <h1>hello</h1>
</template>

<style scoped></style>
